.class public Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;
.super Landroid/webkit/WebViewClient;
.source "WebViewClientWrapper.java"


# instance fields
.field private final mOrigClient:Landroid/webkit/WebViewClient;


# direct methods
.method public constructor <init>(Landroid/webkit/WebViewClient;)V
    .locals 0
    .parameter "origClient"

    .prologue
    .line 42
    invoke-direct {p0}, Landroid/webkit/WebViewClient;-><init>()V

    .line 43
    iput-object p1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    .line 44
    return-void
.end method


# virtual methods
.method public doUpdateVisitedHistory(Landroid/webkit/WebView;Ljava/lang/String;Z)V
    .locals 1
    .parameter "view"
    .parameter "url"
    .parameter "isReload"

    .prologue
    .line 48
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    if-eqz v0, :cond_0

    .line 49
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    invoke-virtual {v0, p1, p2, p3}, Landroid/webkit/WebViewClient;->doUpdateVisitedHistory(Landroid/webkit/WebView;Ljava/lang/String;Z)V

    .line 51
    :cond_0
    return-void
.end method

.method public equals(Ljava/lang/Object;)Z
    .locals 1
    .parameter "o"

    .prologue
    .line 55
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    invoke-virtual {v0, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public hashCode()I
    .locals 1

    .prologue
    .line 60
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I

    move-result v0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public onFormResubmission(Landroid/webkit/WebView;Landroid/os/Message;Landroid/os/Message;)V
    .locals 1
    .parameter "view"
    .parameter "dontResend"
    .parameter "resend"

    .prologue
    .line 65
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    if-eqz v0, :cond_0

    .line 66
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    invoke-virtual {v0, p1, p2, p3}, Landroid/webkit/WebViewClient;->onFormResubmission(Landroid/webkit/WebView;Landroid/os/Message;Landroid/os/Message;)V

    .line 68
    :cond_0
    return-void
.end method

.method public onLoadResource(Landroid/webkit/WebView;Ljava/lang/String;)V
    .locals 1
    .parameter "view"
    .parameter "url"

    .prologue
    .line 72
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    if-eqz v0, :cond_0

    .line 73
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    invoke-virtual {v0, p1, p2}, Landroid/webkit/WebViewClient;->onLoadResource(Landroid/webkit/WebView;Ljava/lang/String;)V

    .line 75
    :cond_0
    return-void
.end method

.method public onPageFinished(Landroid/webkit/WebView;Ljava/lang/String;)V
    .locals 1
    .parameter "view"
    .parameter "url"

    .prologue
    .line 79
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    if-eqz v0, :cond_0

    .line 80
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    invoke-virtual {v0, p1, p2}, Landroid/webkit/WebViewClient;->onPageFinished(Landroid/webkit/WebView;Ljava/lang/String;)V

    .line 82
    :cond_0
    return-void
.end method

.method public onPageStarted(Landroid/webkit/WebView;Ljava/lang/String;Landroid/graphics/Bitmap;)V
    .locals 1
    .parameter "view"
    .parameter "url"
    .parameter "favicon"

    .prologue
    .line 86
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    if-eqz v0, :cond_0

    .line 87
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    invoke-virtual {v0, p1, p2, p3}, Landroid/webkit/WebViewClient;->onPageStarted(Landroid/webkit/WebView;Ljava/lang/String;Landroid/graphics/Bitmap;)V

    .line 89
    :cond_0
    return-void
.end method

.method public onReceivedError(Landroid/webkit/WebView;ILjava/lang/String;Ljava/lang/String;)V
    .locals 1
    .parameter "view"
    .parameter "errorCode"
    .parameter "description"
    .parameter "failingUrl"

    .prologue
    .line 94
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    if-eqz v0, :cond_0

    .line 95
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    invoke-virtual {v0, p1, p2, p3, p4}, Landroid/webkit/WebViewClient;->onReceivedError(Landroid/webkit/WebView;ILjava/lang/String;Ljava/lang/String;)V

    .line 97
    :cond_0
    return-void
.end method

.method public onReceivedHttpAuthRequest(Landroid/webkit/WebView;Landroid/webkit/HttpAuthHandler;Ljava/lang/String;Ljava/lang/String;)V
    .locals 1
    .parameter "view"
    .parameter "handler"
    .parameter "host"
    .parameter "realm"

    .prologue
    .line 102
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    if-eqz v0, :cond_0

    .line 103
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    invoke-virtual {v0, p1, p2, p3, p4}, Landroid/webkit/WebViewClient;->onReceivedHttpAuthRequest(Landroid/webkit/WebView;Landroid/webkit/HttpAuthHandler;Ljava/lang/String;Ljava/lang/String;)V

    .line 105
    :cond_0
    return-void
.end method

.method public onScaleChanged(Landroid/webkit/WebView;FF)V
    .locals 1
    .parameter "view"
    .parameter "oldScale"
    .parameter "newScale"

    .prologue
    .line 121
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    if-eqz v0, :cond_0

    .line 122
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    invoke-virtual {v0, p1, p2, p3}, Landroid/webkit/WebViewClient;->onScaleChanged(Landroid/webkit/WebView;FF)V

    .line 124
    :cond_0
    return-void
.end method

.method public onTooManyRedirects(Landroid/webkit/WebView;Landroid/os/Message;Landroid/os/Message;)V
    .locals 1
    .parameter "view"
    .parameter "cancelMsg"
    .parameter "continueMsg"

    .prologue
    .line 128
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    if-eqz v0, :cond_0

    .line 129
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    invoke-virtual {v0, p1, p2, p3}, Landroid/webkit/WebViewClient;->onTooManyRedirects(Landroid/webkit/WebView;Landroid/os/Message;Landroid/os/Message;)V

    .line 131
    :cond_0
    return-void
.end method

.method public onUnhandledKeyEvent(Landroid/webkit/WebView;Landroid/view/KeyEvent;)V
    .locals 1
    .parameter "view"
    .parameter "event"

    .prologue
    .line 135
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    if-eqz v0, :cond_0

    .line 136
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    invoke-virtual {v0, p1, p2}, Landroid/webkit/WebViewClient;->onUnhandledKeyEvent(Landroid/webkit/WebView;Landroid/view/KeyEvent;)V

    .line 138
    :cond_0
    return-void
.end method

.method public shouldOverrideKeyEvent(Landroid/webkit/WebView;Landroid/view/KeyEvent;)Z
    .locals 1
    .parameter "view"
    .parameter "event"

    .prologue
    .line 148
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    invoke-virtual {v0, p1, p2}, Landroid/webkit/WebViewClient;->shouldOverrideKeyEvent(Landroid/webkit/WebView;Landroid/view/KeyEvent;)Z

    move-result v0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public shouldOverrideUrlLoading(Landroid/webkit/WebView;Ljava/lang/String;)Z
    .locals 1
    .parameter "view"
    .parameter "url"

    .prologue
    .line 153
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    invoke-virtual {v0, p1, p2}, Landroid/webkit/WebViewClient;->shouldOverrideUrlLoading(Landroid/webkit/WebView;Ljava/lang/String;)Z

    move-result v0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public toString()Ljava/lang/String;
    .locals 1

    .prologue
    .line 158
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/WebViewClientWrapper;->mOrigClient:Landroid/webkit/WebViewClient;

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    const-string v0, "Wrapped client is null"

    goto :goto_0
.end method
